package com.zhijiaoyun.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhijiaoyun.dao.ICourseViewDao;
import com.zhijiaoyun.model.CourseView;
import com.zhijiaoyun.service.ICourseViewService;

/**
 * @author shisfish
 * @date 2017/6/6
 */
@Service(value = "courseViewService")
public class CourseViewServiceImpl implements ICourseViewService {

	@Resource
	ICourseViewDao courseViewDao;
	
	@Override
	public void addCourseView(CourseView view) {
		courseViewDao.insert(view);
	}

}
